package com.wanxi.coupons;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableDiscoveryClient
@EnableScheduling // 开启定时任务功能
@SpringBootApplication
@EnableFeignClients
@EnableSwagger2
public class CouponsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CouponsApplication.class,args);
    }
}
